<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <!-- v-text不会解析标签 全部当成文本 跟{{}}差值表达式是一样的 不过插值表达式还可以进行拼接 -->
</head>
<body>
    <div id="root">
        <div v-text="msg">问问</div>  
    </div>
    <script src="vue.js"></script>
    <script>
        Vue.config.productionTip = false
        new Vue({
            el:"#root",
            data:{
                msg:'<h3>你好啊</h3>'
            }
        })
    </script>
</body>
</html>